package com.yu.yupicturebackend.manager.websocker.disruptor;


import com.yu.yupicturebackend.manager.websocker.model.PictureEditRequestMessage;
import com.yu.yupicturebackend.model.entity.User;
import lombok.Data;
import org.springframework.web.socket.WebSocketSession;

/**
 * @ClassName PictureEditEvent
 * @Author zy
 * @Date 2025/4/9 23:47
 *
 * 处理消息
 **/
@Data
public class PictureEditEvent {

    /**
     * 消息
     */
    private PictureEditRequestMessage pictureEditRequestMessage;

    /**
     * 当前用户的 session
     */
    private WebSocketSession session;

    /**
     * 当前用户
     */
    private User user;

    /**
     * 图片 id
     */
    private Long pictureId;

}

